<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单</title>
</head>
<body>
    <form action="test.html" method="get">
        用户名:<input type="text" name="userName"><br>
        密码:<input type="password" name="password"> <br> <!-- 这样就是加密形式 -->
        <!-- <input type="text" name="ID" id=""> -->
        性别:<input type="radio" name="gender" id="male"><label for="male">男</label> 
        <input type="radio" name="gender" id="famale"><label for="famale">女</label>
        <br>
        兴趣爱好: <input type="checkbox" name="hobby" id="listen"><label for="listen">听歌</label>
        <input type="checkbox" name="hobby" id="game"><label for="game">游戏</label>
        <input type="checkbox" name="hobby" id="film"><label for="film">看电影</label>
        <input type="checkbox" name="hobby" id="basketball"><label for="basketball">篮球</label>
        <br>
        
        省份<select name="province">
            <option value="1">重庆</option>
            <option value="2">云南</option>
            <option value="3">湖北</option>
            <option value="4">四川</option>
        </select>
        <br>

        个人简介:
        <textarea name="introduce" rows="2" cols="20"></textarea>
        <br>
        <!-- 提交 -->
        <input type="file" value="选择文件"><br>
        <input type="submit" value="提交"> 
    </form>
</body>
</html>